home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6622 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  597 b 

  1. Path: access1.digex.net!not-for-mail
  2. From: ell@access1.digex.net (Ell)
  3. Newsgroups: comp.lang.c++
  4. Subject: Temporaries and Memory Management
  5. Date: 10 Feb 1996 06:41:52 GMT
  6. Organization: The Universe
  7. Message-ID: <4fheng$89v@news4.digex.net>
  8. NNTP-Posting-Host: access1.digex.net
  9. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  10.  
  11. While many C++ compiler implementations generate temporary objects, from
  12. what I understand after re-reading the ARM, they _all_ should delete the
  13. temporaries after exiting the scope where they are generated.  So no
  14. memory leaks on that score.  Advantage C++ design. 
  15.  
  16. Elliott
  17.